﻿namespace uTrade.Core
{
    public class TestResult
    {
        /// <summary>
        /// 净利润
        /// </summary>
        public double NetProfit;

        /// <summary>
        /// 总盈利
        /// </summary>
        public double TotalProfit;

        /// <summary>
        /// 总亏损
        /// </summary>
        public double TotalLoss;

        /// <summary>
        /// 总盈利/总亏损
        /// </summary>
        public double ProfitLossRatio;

        /// <summary>
        /// 交易手数
        /// </summary>
        public double LotsNumber;

        /// <summary>
        /// 盈利比率
        /// </summary>
        public double ProfitRatio;

        /// <summary>
        /// 盈利手数
        /// </summary>
        public double ProfitLot;

        /// <summary>
        /// 亏损手数
        /// </summary>
        public double LossLot;

        /// <summary>
        /// 持平手数
        /// </summary>
        public double DrawsLots;

        /// <summary>
        /// 平均利润
        /// </summary>
        public double AvgMargin;

        /// <summary>
        /// 平均盈利
        /// </summary>
        public double AvgProfit;

        /// <summary>
        /// 平均亏损
        /// </summary>
        public double AvgLoss;

        /// <summary>
        /// 平均盈利/平均亏损
        /// </summary>
        public double AvgProfitLossRatio;

        /// <summary>
        /// 最大盈利
        /// </summary>
        public double MaxProfit;

        /// <summary>
        /// 最大亏损
        /// </summary>
        public double MaxLoss;

        /// <summary>
        /// 最大连续盈利次数
        /// </summary>
        public int MaxConsecutiveProfit;

        /// <summary>
        /// 最大连续亏损次数
        /// </summary>
        public int MaxConsecutiveLosses;

        /// <summary>
        /// 最大保证金占用
        /// </summary>
        public double MaxMarginOccupation;

        /// <summary>
        /// 佣金合计
        /// </summary>
        public double TotalCommission;

        /// <summary>
        /// 收益率
        /// </summary>
        public double Yield;

        /// <summary>
        /// 年度收益率
        /// </summary>
        public double AnnualReturnRate;

        /// <summary>
        /// 月度平均盈利
        /// </summary>
        public double AvgMonthlyProfit;

        /// <summary>
        /// 最大回撤
        /// </summary>
        public double MaxWithdrawal;
    }
}